package com.sanyang.lawyer.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sanyang.lawyer.entity.System_role;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
public interface System_roleMapper extends BaseMapper<System_role> {
    public List<System_role> select();
    public System_role getById(int id);
    public void update(System_role role);
    public void delete(int id);
    public int getByName(String roleName);
    public Integer selectCount(Map map);
    public List<System_role> selectAll(Map<String,Object> map);
    public Integer getByroleName(String roleName);
    public List<System_role> selectrole();
}
